package dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import pojo.Category;

import java.util.List;

public interface CategoryMapper {
    @ResultMap("CategoryResultMap")
    List<Category> adminselectAll();

    int adminUpdateCategory(@Param("id") String id ,@Param("sort") String sort);
}
